<div class="ui-widget" >
	<div class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only" style="padding:10px;margin-left: 10px" >
		<a href="<?php echo $this->url(array('ctrl' => 'users','act' => 'csv'));?>" >Export CSV</a>&nbsp;&nbsp;
		<a href="<?php echo $this->url(array('ctrl' => 'users','act' => 'xml'));?>" >Export XML</a>
	</div>
	<?php
		if($this->users):
			?>
				<table class="ui-widget ui-widget-content" >
					<thead>
						<tr class="ui-widget-header" >
							<th>first name</th>
							<th>last name</th>
							<th>email</th>
							<th>cell phone</th>
						</tr>
					</thead>
					<tbody>
			<?php
				$updateUrl = $this->url(array('ctrl' => 'users', 'act' => 'update'));
				$deleteUrl = $this->url(array('ctrl' => 'users', 'act' => 'delete'));
				foreach ($this->users as $user):
					?>
						<tr>
							<td><?php echo $this->escape($user->firstName);?></td>
							<td><?php echo $this->escape($user->lastName);?></td>
							<td><?php echo $this->escape($user->email);?></td>
							<td><?php echo $this->escape($user->cellPhone);?></td>
						</tr>
					<?php
				endforeach;
			?></tbody></table><?php
		endif; 
	?>
</div>